Let's add the bike sprite that the player will control.

  • Click on to open that section of the toolkit.
  • Drag Bike into your program, below the background code.

The bike is a sprite. A sprite is an object or character that you can move around on the stage.

  • Click Run to view your changes. Click Submit and Next to go to the next activity.

To navigate the page using the TAB key, first press ESC to exit the code editor.

stage.set_background("city")
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)